xen/kbdif: Add features to disable keyboard and pointer
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Wed, 2 May 2018 14:49:19 +0000 (17:49 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 17 May 2018 14:12:36 +0000 (10:12 -0400)
commit8f853dbc06361416bb1faa6ca7721e3982adbf38
treec3825f04c4f5a6c9a2d644599c2abc685eba4552
parente1f912cbf7178798b0646c7d0753b8d67e139e75
xen/kbdif: Add features to disable keyboard and pointer

It is now not fully possible to control if and which virtual devices
are created by the frontend, e.g. keyboard and pointer devices
are always created and multi-touch device is created if the
backend advertises multi-touch support. In some cases this
behavior is not desirable and better control over the frontend's
configuration is required.

Add new XenStore feature fields, so it is possible to individually
control set of exposed virtual devices for each guest OS:
 - set feature-disable-keyboard to 1 if no keyboard device needs
   to be created
 - set feature-disable-pointer to 1 if no pointer device needs
   to be created

Keep old behavior by default.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/include/public/io/kbdif.h